package com.qth.valet.entity.req;

import com.qth.valet.common.utils.StatusConstants;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
public class DriverFinishOrderReq {

    private String orderId;

    // 订单的支付方式
    @Min(value = StatusConstants.ORDER_PAY_TYPE_ONLINE, message = "参数异常")
    @Max(value = StatusConstants.ORDER_PAY_TYPE_CASH, message = "参数异常")
    private Integer payType;

}
